#include "outputdevice.h"
#include<cstring>
int main() {
	initdevice("test.output");
	char* str="afief Halumi\n";
	int len=strlen(str);
	int id =write2device(str,len);
	flush2device(id);
	closedevice();
	return 0;
}